﻿using Microsoft.EntityFrameworkCore;
using Traceability.App.Domain.Model;

namespace Traceability.App.Application
{
    public class MyContext : DbContext
    {
        public MyContext(DbContextOptions options) : base(options)
        {
        }
        public DbSet<TraceabilityModel> TraceabilityModels { get; set; }
        public DbSet<Cultivation_TableModel> Cultivation_TableModels { get; set; }
        public DbSet<CultivationModel> CultivationModels { get; set; }
        public DbSet<HealthModel> HealthModels { get; set; }
        public DbSet<ImageModel> ImageModels { get; set; }
        public DbSet<ProductModel> ProductModels { get; set; }
        public DbSet<Slaughter_TableModel> Slaughter_TableModels { get; set; }
        public DbSet<SlaughterModel> SlaughterModels { get; set;}
        public DbSet<SlaughterhouseModel> SlaughterhouseModels { get; set; }
        public DbSet<SupplierModel> SupplierModels { get; set; }
    }
}
